package com.gugee.ins.common.model.spider.app;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;

import java.util.List;

/**
 *
 * @author Huangxin
 */
@Data
@JsonIgnoreProperties(ignoreUnknown = true)
public class InsAppImageVersion {

    private List<InsAppImageCandidates> candidates;

    @JsonProperty("additional_candidates")
    private ImageAdditionalCandidates additionalCandidates;


    /**
     *
     * @author Huangxin
     */
    @Data
    @JsonIgnoreProperties(ignoreUnknown = true)
    public static class ImageAdditionalCandidates {

        @JsonProperty("igtv_first_frame")
        private InsAppImageCandidates igtvFirstFrame;

        @JsonProperty("first_frame")
        private InsAppImageCandidates firstFrame;
    }
}
